local binu = fk.CreateSkill {
  name = "kl__binu",
  tags = { Skill.Compulsory },
}


binu:addEffect("targetmod", {
  bypass_times = function(self, player, skill, scope, card)
    return player:hasSkill(binu.name) and card and card:getEffectiveId() == nil
  end,
  bypass_distances = function(self, player, skill, card)
    return player:hasSkill(binu.name) and card and card:getEffectiveId() == nil
  end,
})

binu:addEffect(fk.PreCardUse, {
  can_trigger = function (self, event, target, player, data)
    return target == player and player:hasSkill(binu.name) and data.card and data.card:getEffectiveId() == nil
  end,
  on_use = function (self, event, target, player, data)
    data.extraUse = true
  end,
})


return binu
